<?php if(count($this->_tpl_vars['array']) > 0){ ?>
<?php if (count($this->_tpl_vars['array'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['array']); $list++){?>
<div class="infolist" onselectstart="return false;" title="<?php echo $this->_tpl_vars['array'][$list]['cid'] ?> - <?php echo $this->_tpl_vars['array'][$list]['hname'] ?>">
	<table border="0" style="border-collapse:collapse" width="100%" bordercolor="#FFFFFF">
	<tr>
		<td width="4%"><input type="checkbox" name="commentid" value="<?php echo $this->_tpl_vars['array'][$list]['cid'] ?>"></td>
		<td width="5%"><?php echo $this->_tpl_vars['array'][$list]['cid'] ?></td>
        <td width="6%"><?php echo $this->_tpl_vars['array'][$list]['uid'] ?></td>
		<td width="9%"><?php echo $this->_tpl_vars['array'][$list]['username'] ?></td>
		<td width="20%" id="left" class="padding-left3"><a href="<?php echo $this->_tpl_vars['array'][$list]['showurl'] ?>" target="_blank"><?php echo $this->cuthtml($this->_tpl_vars['array'][$list]['hname'],19) ?></a></td>
		<td width="12%"><?php echo $this->_tpl_vars['array'][$list]['datetime'] ?></td>
		<td width="28%" title="<?php echo $this->_tpl_vars['array'][$list]['comment'] ?>"><?php echo $this->cuthtml($this->_tpl_vars['array'][$list]['comment'],26) ?></td>
		<td width="7%"><?php echo $this->_tpl_vars['array'][$list]['level'] ?></td>
		<td width="9%">-</td>
	</tr>
</table>
</div>
<?php }} ?>

<?php }else{ ?>
<div class="infolist">
<table border="0" style="border-collapse:collapse" width="100%" bordercolor="#FFFFFF">
	<tr>
	    <td align="center">还没有评论</td>
	</tr>
</table>
</div>
<?php } ?>

